Microsoft DirectX 8.1 (C++)

IConfigAsfWriter::SetIndexMode

The SetIndexMode method enables the application to control whether the file will be indexed and therefore seekable.

Syntax

HRESULT SetIndexMode(
  BOOL bIndexFile
);

Parameters

bIndexFile

[in] Variable of type BOOL; TRUE specifies that the file will be indexed.

Return Values

Returns S_OK if successful, or an HRESULT error code otherwise.

Remarks

By default, the ASF Writer creates indexed ASF files. It performs the indexing when the graph stops. You can disable this behavior if you want to do your own indexing as a post-processing step.

See Also